//
//  NSObject+Number.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/27.
//  
  

#import "NSObject+Number.h"

@implementation NSObject (Number)


- (NSInteger)sl_intValue {
    if ([self respondsToSelector:@selector(intValue)]) {
        return [((NSNumber *)self) intValue];
    } else {
        return 0;
    }
}

@end
